package com.ustc.py.utils;

import java.util.HashMap;
import java.util.Map;

public class OjConstant {

    public static final int STATUS_ACCEPTED = 3;
    public static final int STATUS_WRONG_ANSWER = 4;
    public static final int STATUS_TIME_LIMIT_EXCEEDED = 5;
    public static final int STATUS_COMPILATION_ERROR = 6;
    public static Integer LANGUAGE_PYTHON2 = 26; //2.7
    // public static Integer LANGUAGE_PYTHON3 = 28; //3.10
    public static Integer LANGUAGE_PYTHON3 = 10; // python3.7.7 for ML

    public static Map<Integer, String> status = new HashMap<Integer, String>() {{
        put(1, "In Queue");
        put(2, "Processing");
        put(3, "Accepted");
        put(4, "Wrong Answer");
        put(5, "Time Limit Exceeded");
        put(6, "Compilation Error");
        put(7, "Runtime Error (SIGSEGV)");
        put(8, "Runtime Error (SIGXFSZ)");
        put(9, "Runtime Error (SIGFPE)");
        put(10, "Runtime Error (SIGABRT)");
        put(11, "Runtime Error (NZEC)");
        put(12, "Runtime Error (Other)");
        put(13, "Internal Error");
        put(14, "Exec Format Error");
    }};


    public static Map<Integer, String> languages = new HashMap<Integer, String>() {{
        put(26, "Python (2.7)");
        put(28, "Python (3.10)");
    }};

}